<%= react_component('AreaChart', id: 'resource_graph',
                                 xAxisLabel: '',
                                 yAxisLabel: _('Number of Events'),
                                 data: resources_chart_data(params["range"].to_i.days.ago),
                                 size: { height: 250 }) %>
